package com.lier.gulimall.ware.feign;

import com.lier.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author liyd
 * @description
 * @date 2025/6/21 11:00
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    /**
     * 获取sku信息
     * @param skuId sku id
     * @return skn info
     */
    @GetMapping("/product/skuinfo/info/{skuId}")
    public R getSkuInfo(@PathVariable("skuId") Long skuId);
}
